package com.aizuda.boot.modules.business.contract.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 我的合同和协商数量统计DTO
 */
@Data
@Schema(description = "我的合同和协商数量统计")
public class ContractCountDTO {
    
    @Schema(description = "我的合同数量（申请人是我且状态为审批中的合同数量）")
    private Long myContractCount;
    
    @Schema(description = "我的协商数量（申请人是我的协商数量）")
    private Long myNegotiationCount;
    
    public ContractCountDTO() {
        this.myContractCount = 0L;
        this.myNegotiationCount = 0L;
    }
    
    public ContractCountDTO(Long myContractCount, Long myNegotiationCount) {
        this.myContractCount = myContractCount != null ? myContractCount : 0L;
        this.myNegotiationCount = myNegotiationCount != null ? myNegotiationCount : 0L;
    }
} 